const tree = require('./binTree')

const inorder = (root) => {
    if (!root) return
    inorder(root.left)
    inorder(root.right)
    console.log(root.val)
}

inorder(tree)